#include "app_device.h"
#include "app_mqtt.h"
#include "app_pool.h"
#include "unistd.h"
#include "stdlib.h"
#include "app_bt.h"

int main(int argc, char const *argv[])
{
    app_mqtt_init();
    app_pool_init();

    device_t *device= app_device_init("/home/atguigu/workspace0722/gateway0722/test_dev_file");

    //增加蓝牙配置初始化
    app_bt_init(device);

    app_device_start();
 

    sleep(10000);


    return 0;
}
